package com.leo.foodmaster.admin.stock.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 出库记录详情
 * </p>
 *
 * @author Leo
 * @since 2021-09-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="WarehouseOutRecordDetails对象", description="出库记录详情")
public class WarehouseOutRecordDetails implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "自增主键Id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "出库记录Id")
    private Long warehouseOutRecordId;

    @ApiModelProperty(value = "关联入库记录细表Id")
    private Long warehouseInRecordDetailsId;

    @ApiModelProperty(value = "关联食材Id")
    private Long foodMaterialId;

    @ApiModelProperty(value = "关联食材名称")
    private String foodMaterialName;

    @ApiModelProperty(value = "关联食材类型Id")
    private Long foodMaterialTypeId;

    @ApiModelProperty(value = "关联食材类型名称")
    private String foodMaterialTypeName;

    @ApiModelProperty(value = "出库仓库Id")
    private Long warehouseId;

    @ApiModelProperty(value = "出库仓库名称")
    private String warehouseName;

    @ApiModelProperty(value = "出库仓库名称")
    private String warehouseSerialNum;

    @ApiModelProperty(value = "出库货架Id")
    private Long shelfId;

    @ApiModelProperty(value = "出库货架名称")
    private String shelfName;

    @ApiModelProperty(value = "单位名称")
    private String unitName;

    @ApiModelProperty(value = "品牌")
    private String brand;

    @ApiModelProperty(value = "规格")
    private String specs;

    @ApiModelProperty(value = "出库数量(重量)")
    private BigDecimal warehouseOutAmount;

    @ApiModelProperty(value = "单价")
    private BigDecimal price;

    @ApiModelProperty(value = "金额")
    private BigDecimal total;

    @ApiModelProperty(value = "所属公司Id")
    private Long organId;

    @ApiModelProperty(value = "关联部门Id")
    private Long deptId;

    @ApiModelProperty(value = "关联部门名称")
    private String deptName;

    @ApiModelProperty(value = "创建人")
    private String creator;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改人")
    private String updateUser;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;


}
